package edu.cdnu.pojo;

/**
 *数据库resource映射类
 * @author ASUS AsingZ
 */
public class ResourcePojo {

	private Integer id;
	/**
	 * 名称资源
	 */
	private String resourceName;
	/**
	 * 资源文件的路径
	 */
	private String resourceUrl;
	/**
	 * 所属于的目录id
	 */
	private Integer catalogueId;
	
	/**
	 * 下载次数
	 */
	private Integer download;

	public ResourcePojo() {
		super();
	}
	public ResourcePojo(Integer id, String resourceName, String resourceUrl, Integer catalogueId) {
		super();
		this.id = id;
		this.resourceName = resourceName;
		this.resourceUrl = resourceUrl;
		this.catalogueId = catalogueId;
	}

	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getResourceUrl() {
		return resourceUrl;
	}

	public void setResourceUrl(String resourceUrl) {
		this.resourceUrl = resourceUrl;
	}

	public Integer getCatalogueId() {
		return catalogueId;
	}

	public void setCatalogueId(Integer catalogueId) {
		this.catalogueId = catalogueId;
	}
	public Integer getDownload() {
		return download;
	}
	public void setDownload(Integer download) {
		this.download = download;
	}
	@Override
	public String toString() {
		return "ResourcePojo [id=" + id + ", resourceName=" + resourceName + ", resourceUrl=" + resourceUrl
				+ ", catalogueId=" + catalogueId + ", download=" + download + "]";
	}

}
